package com.yzc.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yzc.model.entity.notification.MessageDto;
import com.yzc.model.entity.notification.Notification;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Yzc
* @description 针对表【t_notification】的数据库操作Mapper
* @createDate 2024-10-23 09:10:46
* @Entity com.yzc.entities.Notification
*/

@Mapper
public interface NotificationMapper extends BaseMapper<Notification> {



    List<Notification> selectBySenduserid(Integer senduserid, Integer acceptuserid);

    void updateById(Integer senduserid,Integer acceptuserid);

    void updatesendBysenduserid(Integer senduserid, Integer acceptuserid,String content);


    void sendGroupMessage(MessageDto message);

    List<Notification> sendGroupMessageByacceptuserid(Integer acceptuserid);
}




